package com.easylinkin.sm.constant;

import lombok.experimental.UtilityClass;

/**
 * 客户模块常量
 *
 * @author majintao
 * @since 1.0.0, 2019-08-16-20:42
 */
@UtilityClass
public class CustomerConstant {

  /**
   * 缓存
   */
  @UtilityClass
  public class Caches {

    /**
     * 当前客户缓存
     */
    public static final String ACTIVE_CUSTOMER = "activeCustomer";

    /**
     * 当前客户缓存
     */
    public static final String CUSTOMER = "customer";
  }

  /**
   * 数据常量
   */
  @UtilityClass
  public class Data {

    /**
     * 数据,显示/隐藏,软删除
     */
    public static final Boolean DISPLAY_SHOW = true;

    public static final Boolean DISPLAY_HIDE = false;

    public static final Boolean LOCK_YES = true;

    public static final Boolean LOCK_NO = false;


  }
  /**
   * 异常消息常量
   */
  @UtilityClass
  public class Error {

    public static final String NAME_REPEAT = "customer.name.repeat";
  }
}
